#pragma once

#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif

#include <qdialog.h>
#include <qcombobox.h>
#include <qlabel.h>
#include <qpushbutton.h>

class QtWidgetsDev :
    public QDialog
{
    Q_OBJECT

public:
    explicit QtWidgetsDev(QWidget* parent = nullptr);
    ~QtWidgetsDev();

private:
    QComboBox* m_devTypeComboBox;
    QLabel* m_devNameInfoLabel;
    QLabel* m_devModelInfoLabel;
    QLabel* m_devInputInfoLabel;
    QLabel* m_devOutputInfoLabel;
    QLabel* m_devEnclosureInfoLabel;
    QPushButton* m_devCancelPushButton;
    QPushButton* m_devOkPushButton;

signals:
    void sig_devTypeComboBox_changed(const QList<QString>);

private slots:
    void on_devTypeComboBox_changed(int index);
    void on_devOkPushButton_clicked();
};

